const bufferText = Buffer.from('爱小差', 'utf8'); // or Buffer.from('hello world')

const text = "5b7b226d6f7665223a226434222c226465736372697074696f6e223a22323334323334222c226368696c6444617461223a5b5d7d2c7b226d6f7665223a226536222c226465736372697074696f6e223a22222c226368696c6444617461223a5b7b2264617461223a5b7b226d6f7665223a226635222c226465736372697074696f6e223a223333227d5d7d2c7b2264617461223a5b7b226d6f7665223a226335222c226465736372697074696f6e223a22227d2c7b226d6f7665223a224e6633222c226465736372697074696f6e223a2232323232227d5d7d2c7b2264617461223a5b5d7d5d7d5d"
// To get hex
console.log(text); // 68656c6c6f20776f726c64

console.log(text.toString()); // or toString('utf8')
// hello world
